package com.example.mountain;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_activity);

	}

	public void mOnClick(View v) {
		Intent intent = null;
		switch (v.getId()) {
		case R.id.main_btn01:
			intent = new Intent(this, StartActivity.class);
			break;
		case R.id.main_btn02:
			intent = new Intent(this, Mosquito.class);
			break;
		case R.id.main_btn03:
			intent = new Intent(this, Compass.class);
			break;
		case R.id.main_btn04:
			intent = new Intent(this, StartMos.class);
			break;

		}
		startActivity(intent);
	}
}
